package com.mall.common.domain.content;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.mall.common.domain.BaseEntity;
import com.mall.common.enums.MessageStatus;
import com.mall.common.enums.MessageType;
/**
 * 实体类 - 短息
 */
@Entity
@Table(name="s_sms_message")
public class SmsMessageDomain extends BaseEntity{

	private static final long serialVersionUID = -6256278762614282578L;
	private String smsNumber;     // 短信号码
	private String smsContent;    // 短信内容
	private String ip;//客户端IP
	private Date   sendTime;      // 发送时间
	private String sn;            // 流水号
	private String description;   // 备注
	private MessageStatus status; // 状态
	private MessageType type;     // 短信类型
	private String taskId;		  // 任务id
	
	public String getSmsNumber() {
		return smsNumber;
	}

	public void setSmsNumber(String smsNumber) {
		this.smsNumber = smsNumber;
	}

	public String getSmsContent() {
		return smsContent;
	}

	public void setSmsContent(String smsContent) {
		this.smsContent = smsContent;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	
	public MessageStatus getStatus() {
		return status;
	}

	public void setStatus(MessageStatus status) {
		this.status = status;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public MessageType getType() {
		return type;
	}

	public void setType(MessageType type) {
		this.type = type;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

}
